package com.zzy.chapter4.dutychain;

import com.zzy.chapter4.pojo.BusinessLaunch;

import java.util.List;

public abstract class AbstractBusinessHandler {

    public AbstractBusinessHandler nextHandler;

    public boolean hasNextHandler() {
        return nextHandler != null;
    }

    public abstract List<BusinessLaunch> processHandler(List<BusinessLaunch> businessLaunches, String targetCity, String targetSex, String targetProduct);
}
